package com.zengqingfa.jvm.test.n1;

/**
 * @fileName: StringTableTest2
 * @author: zengqf3
 * @date: 2021-6-15 13:51
 * @description:
 */
public class StringTableTest2 {

    public static void main(String[] args) {
        String s1 = "a"; //入池 "a"
        String s2 = "b";//入池 "b"
        String s4 = s1 + s2; //变量s1和s2通过StringBuilder拼接，在堆中
    }
}
